package com.celesea.workflow.core.service;

import com.celesea.framework.service.AbstractBaseService;
import com.celesea.workflow.core.dao.WorkflowNoticeDao;
import com.celesea.workflow.core.entity.WorkflowNotice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author JackYuan
 * @create 2017-11-21 18:14
 */
@Service
public class WorkflowNoticeServiceImpl extends AbstractBaseService<WorkflowNotice> implements WorkflowNoticeService {

    @Autowired
    private WorkflowNoticeDao workflowNoticeDao;

    @Override
    public WorkflowNotice createNotice(WorkflowNotice workflowNotice) {
        return super.insert(workflowNotice);
    }

}
